{% extends 'devops/root.html' %}

{% block titile%}Dashbord{%endblock%}

{% block leftside %}
                    <li class="has-submenu"><a href="#"><i class="ion-flask"></i> <span class="nav-label">用户管理</span></a>
                        <ul class="list-unstyled">
                            <li><a href="{% url 'users:userlist'%}">用户</a></li>
                            <li><a href="{% url 'users:grouplist'%}">组</a></li>
                        </ul>
                    </li>
                    <li class="has-submenu"><a href="#"><i class="ion-flask"></i> <span class="nav-label">预留</span></a>
                        <ul class="list-unstyled">
                        <ul class="list-unstyled">
                            <li><a href="#">空1</a></li>
                            <li><a href="#">空2</a></li>
                        </ul>
                        </ul>
                    </li>
{% endblock %}

{% block messages %}
    <span class="media-body block">how are you <br><small class="text-muted">10 seconds ago</small></span>
{%endblock%}

{%block userselfname %}admin{%endblock%}

{%block userspace%}
    <li><a href="#"><i class="fa fa-cog"></i> Settings</a></li>
    <li><a href="#"><i class="fa fa-sign-out"></i> Log Out</a></li>
{%endblock%}

{%block content%}

                <div class="row">
                    <div class="col-lg-3 col-sm-6">
                        <div class="widget-panel widget-style-2 white-bg">
                            <i class="ion-eye text-pink"></i>
                            <h2 class="m-0 counter">{{user_sum}}</h2>
                            <div>Users</div>
                        </div>
                    </div>
                    <div class="col-lg-3 col-sm-6">
                        <div class="widget-panel widget-style-2 white-bg">
                            <i class="ion-wifi text-purple"></i>
                            <h2 class="m-0 counter">{{user_sum}}</h2>
                            <div>Groups</div>
                        </div>
                    </div>
                </div>

{%endblock%}